kodReady.push(function(){
    function webReady(fn){
        if(window.document && document.readyState == "complete"){
            fn();
        }else{
            setTimeout(webReady,300,fn);
        }
    }
    if(!$.hasKey('plugin.tenfellCdn.style')){
        webReady(function (){
            setTimeout(function (){
                var body = document.getElementsByTagName("body")[0];
                var script=document.createElement("script");
                script.src="{{pluginHost}}php/check-update.php?type=1";
                body.insertBefore(script,body.firstChild);
            },3000);
        });
    }
});
